package com.dongdongshop.service;

import com.dongdongshop.pojo.OrderItemDTO;
import com.dongdongshop.pojo.PayLogVo;
import com.dongdongshop.pojo.TbOrder;
import com.dongdongshop.pojo.TbUser;

import java.util.List;
import java.util.Map;

public interface OrderService {
    Map<String,Object> getSubmit(TbUser user, Double total);


    void updateStatu(TbOrder tbOrder);

    List<TbOrder> getByTradeNo(String tradeNo);

    void closeOrder(String tradeNo);

    List<OrderItemDTO> getDTO(TbUser user);

    void sendMq(String tradeNo,Double total, String trade_no);
}
